﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Royaume
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.test.ValueChanged += new System.EventHandler(txtch);
            this.test.AutoPostBack = true;
        }
        private void txtch(object sender, EventArgs e) {
            this.TextBox1.Text = test.Value.ToString();
        }
    }
}